From c53fa753e2314224368ff86d4f97e9fa9049ad14 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 8 Mar 2007 14:57:33 +0000 Subject: [PATCH] xend: Platform feature 'multiprocessor suspend' is x86-only for now. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendDomainInfo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 2689753266..c784c95f80 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -781,7 +781,6 @@ class XendDomainInfo: 'name': self.info['name_label'], 'console/limit': str(xoptions.get_console_limit() * 1024), 'memory/target': str(self.info['memory_static_min'] * 1024), - 'control/platform-feature-multiprocessor-suspend': str(1) } def f(n, v): @@ -796,6 +795,9 @@ class XendDomainInfo: f('store/port', self.store_port) f('store/ring-ref', self.store_mfn) + if arch.type == "x86": + f('control/platform-feature-multiprocessor-suspend', True) + # elfnotes for n, v in self.info.get_notes().iteritems(): n = n.lower().replace('_', '-') -- 2.30.2